<template>
	<jyf-parser :html="info.content" :selectable="true"></jyf-parser>
</template>

<script>
	import jyfParser from "@/components/jyf-parser/jyf-parser";
	export default {
		components: {
			jyfParser
		},
		data() {
			return {
				info: {}
			}
		},
		onLoad(option) {
			this.getinfo(option.id);
		},
		methods:{
			getinfo(id){
				this.$axios('index/msginfo','POST','salemsg',{id}).then(res=>{
					if(res.data.code==200){
						this.info=res.data.data.info;
					}
				})
			}
		}
	}
</script>

<style>
</style>
